package beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class TripCatBean implements Serializable{
	
	private Integer ID;	
	private String naziv;
	
	public TripCatBean() {
	}

	public TripCatBean(String naziv) {
		super();
		this.naziv = naziv;
	}

	public TripCatBean(Integer iD, String naziv) {
		super();
		ID = iD;
		this.naziv = naziv;
	}

	public Integer getID() {
		return ID;
	}

	public void setID(Integer iD) {
		ID = iD;
	}

	public String getNaziv() {
		return naziv;
	}

	public void setNaziv(String naziv) {
		this.naziv = naziv;
	}
	
	@Override
	public String toString() {		
		return "Vrsta prevoza - ID: " + ID + " , naziv: " + naziv;
	}
	
}
